package com.rtx.edi.platform.jobextend.bean.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;

/**
 * <p>
 * 定时任务
 * </p>
 *
 */
@TableName("pl_job")
public class PlJob extends BaseEntity {

	
    private String jobName;//定时任务名称
    private String description;//定时任务描述
    private String jobGroup;//定时任务分组
    private String jobCron;//触发表达式
    private String jobType;//定时任务类型 api定时任务 1 insert定时任务 2
    private String jobStatus;//定时任务状态 已部署 未部署
    private String enable;//是否启用 启用 未启用
    
    private String querySql;//查询数据sql
    private String updColumn;//更新状态字段[{"placeholder":"#{orderkey}","source":"request  response","sourcepath":""}]
    private String updateSql;//更新状态sql
    
    private Long targetApiId;//调用目标apiId
    private String statusField;//是否执行成功字段
    private String successStatusValue;//执行成功值
    private String environmentId;//环境id
    private String requestDateType;// array 为数组 one 为单条发送
    
    
	public String getRequestDateType() {
		return requestDateType;
	}
	public void setRequestDateType(String requestDateType) {
		this.requestDateType = requestDateType;
	}
	public String getEnvironmentId() {
		return environmentId;
	}
	public void setEnvironmentId(String environmentId) {
		this.environmentId = environmentId;
	}
	public String getEnable() {
		return enable;
	}
	public void setEnable(String enable) {
		this.enable = enable;
	}
	public String getJobStatus() {
		return jobStatus;
	}
	public void setJobStatus(String jobStatus) {
		this.jobStatus = jobStatus;
	}
	public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getJobGroup() {
		return jobGroup;
	}
	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}
	public String getJobCron() {
		return jobCron;
	}
	public void setJobCron(String jobCron) {
		this.jobCron = jobCron;
	}
	public String getJobType() {
		return jobType;
	}
	public void setJobType(String jobType) {
		this.jobType = jobType;
	}
	public String getQuerySql() {
		return querySql;
	}
	public void setQuerySql(String querySql) {
		this.querySql = querySql;
	}
	public String getUpdColumn() {
		return updColumn;
	}
	public void setUpdColumn(String updColumn) {
		this.updColumn = updColumn;
	}
	public String getUpdateSql() {
		return updateSql;
	}
	public void setUpdateSql(String updateSql) {
		this.updateSql = updateSql;
	}
	public Long getTargetApiId() {
		return targetApiId;
	}
	public void setTargetApiId(Long targetApiId) {
		this.targetApiId = targetApiId;
	}
	public String getStatusField() {
		return statusField;
	}
	public void setStatusField(String statusField) {
		this.statusField = statusField;
	}
	public String getSuccessStatusValue() {
		return successStatusValue;
	}
	public void setSuccessStatusValue(String successStatusValue) {
		this.successStatusValue = successStatusValue;
	}
}

